from django.urls import path, include
from web.views import account

urlpatterns = [
    path('register/', account.register, name='register'),
    path('login/', account.login, name='login'),
    # path('image_code/', account.image_code, name='image_code'),
    path('loginout/', account.loginout, name='loginout'),
    path('', account.index, name='index'),
    path('room/<int:id>/', account.room, name='room'),
    path('market/', account.market, name='market'),
    path('add/<int:id>/', account.add, name='add'),
    path('reserves/<int:id>/<int:cid>', account.reserves, name='reserves'),
]
